# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
#
# 12/7/15 - NB: My initial mod of this file was to include "discard" for ssd block-trimming of root, opt & home, as widely recommended online. However after additional research i came to the view that this is better than doing nothing but still not optimal as it slows down every I/O transaction. Instead i've done it via "rc.local" file edit as recommended by https://sites.google.com/site/easylinuxtipsproject/ssd#TOC-Still-relevant-for-Ubuntu-14.04-and-Linux-Mint-17.2:-automatic-TRIM-by-rc.local-by-cron-or-by-discard  & elsewhere. 
#
# NB - 10/11/16:   The above info is now OBSOLETE, hence i have commented-out the FSTRIM lines in "rc.local". The webpage referenced above has been updated for Ubuntu 16.04 & Mint 18, ie, also Maui, viz [in part]:   "8.1. You can add the TRIM command to /etc/rc.local. Then this command will be executed automatically on system boot. Before Ubuntu 16.04 and Linux Mint 18, this was a good solution that hardly slowed the boot process down.       However, in Mint 18 and Ubuntu 16.04 there's a new boot process called systemd. For systemd it may cause a huge boot delay (minutes!) when you put the fstrim command in /etc/rc.local. So that's why I don't recommend this method anymore."
#
#
# / was on /dev/sda1 during installation
#UUID=9653c96c-998f-4d0b-bb55-5ea60437cf80 /              ext4    errors=remount-ro 0       1
#UUID=9653c96c-998f-4d0b-bb55-5ea60437cf80 /              ext4    discard,noatime,nodiratime,errors=remount-ro 0       1
UUID=9653c96c-998f-4d0b-bb55-5ea60437cf80 /               ext4    noatime,nodiratime,errors=remount-ro 0       1
#
# /home was on /dev/sda3 during installation
#UUID=fa909da3-2ffd-453b-9973-94398ab4f789 /home          ext4    defaults        0       2
#UUID=fa909da3-2ffd-453b-9973-94398ab4f789 /home          ext4    discard,noatime,nodiratime,defaults        0       2
UUID=fa909da3-2ffd-453b-9973-94398ab4f789 /home           ext4    noatime,nodiratime,defaults        0       2
#
# /media/moi/Seagate_2TB_hdd was on /dev/sdb2 during installation
UUID=0CD4D3773512E53F /media/moi/Seagate_2TB_hdd ntfs    defaults,umask=007,gid=46 0       0
#
# /opt was on /dev/sda2 during installation
#UUID=32ceb271-f456-45ab-ae91-6a8917a0b754 /opt           ext4    defaults        0       2
#UUID=32ceb271-f456-45ab-ae91-6a8917a0b754 /opt           ext4    discard,noatime,nodiratime,defaults        0       2
UUID=32ceb271-f456-45ab-ae91-6a8917a0b754 /opt            ext4    noatime,nodiratime,defaults        0       2
#
# swap was on /dev/sdb1 during installation
#UUID=af5715b7-dc96-494f-ba1c-74d4ee94ef45 none            swap    sw              0       0
#/dev/mapper/cryptswap1 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw, noauto 0 0
#
# SSD optimisation, send these temporary files to tmpfs (which practically creates a RAM disk) to store some temporary files.  Once the system is restarted, everything in tmpfs will be gone. 
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
